﻿using System.Diagnostics.CodeAnalysis;

namespace King.Learn.DoNet.CSharp11.Example
{
    internal struct PointRequiredMembers
    {
        public required int X;
        public required int Y;

        [SetsRequiredMembers]
        public PointRequiredMembers(int x, int y)
        {
            X = x;
            Y = y;
        }
    }
}
